package com.icebartech.core.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 微信小程序支付配置
 * @author wenhsh
 *
 */
@ConfigurationProperties(prefix = "miniWeixinPay")
public class MiniWeixinPayProperties{
	
	/**
	 * 应用id
	 */
	private String appId;
	
	/**
	 * 微信分配的商户id
	 */
	private String mchId;
	
	/**
	 * 微信分配的接口key
	 */
	private String apiKey;
	
	/**
	 * 支付异步回调url
	 */
	private String callbackUrl;

	/**
	 * 机器ip
	 */
	private String machineIp;
	
	/**
	 * 预留回调地址
	 */
	private String callbackUrl1;
	
	/**
	 * 预留回调地址
	 */
	private String callbackUrl2;
	
	/**
	 * 支付证书目录
	 */
	private String apiClientCertFile;
	
	public String getApiClientCertFile() {
		return apiClientCertFile;
	}

	public void setApiClientCertFile(String apiClientCertFile) {
		this.apiClientCertFile = apiClientCertFile;
	}

	public String getCallbackUrl1() {
		return callbackUrl1;
	}

	public void setCallbackUrl1(String callbackUrl1) {
		this.callbackUrl1 = callbackUrl1;
	}

	public String getCallbackUrl2() {
		return callbackUrl2;
	}

	public void setCallbackUrl2(String callbackUrl2) {
		this.callbackUrl2 = callbackUrl2;
	}
	
	
	public String getMachineIp() {
		return machineIp;
	}

	public void setMachineIp(String machineIp) {
		this.machineIp = machineIp;
	}

	public String getCallbackUrl() {
		return callbackUrl;
	}

	public void setCallbackUrl(String callbackUrl) {
		this.callbackUrl = callbackUrl;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getMchId() {
		return mchId;
	}

	public void setMchId(String mchId) {
		this.mchId = mchId;
	}

	public String getApiKey() {
		return apiKey;
	}

	public void setApiKey(String apiKey) {
		this.apiKey = apiKey;
	}
}
